from base.myBase import Tools


class query_model(Tools):
    query_path = '/task/info'

    def query_action(self, three, db):
        mydata = {'status': three}
        res = self.session.get(url=self.hosturl+self.query_path, params=mydata, headers=db)
        return res.json()

